package aex.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Therapy entity. @author MyEclipse Persistence Tools
 */

public class Therapy implements java.io.Serializable {

	// Fields

	private Integer thId;
	private Integer thOrderBy;
	private ArticleCategory articleCategory;
	private String thName;
	private String thMethod;
	private String thUseful;
	private Set commentTherapies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Therapy() {
	}

	public Integer getThOrderBy() {
		return thOrderBy;
	}

	public void setThOrderBy(Integer thOrderBy) {
		this.thOrderBy = thOrderBy;
	}

	/** minimal constructor */
	public Therapy(Integer thId) {
		this.thId = thId;
	}

	/** full constructor */
	public Therapy(Integer thId, ArticleCategory articleCategory,
			String thName, String thMethod, String thUseful,
			Set commentTherapies) {
		this.thId = thId;
		this.articleCategory = articleCategory;
		this.thName = thName;
		this.thMethod = thMethod;
		this.thUseful = thUseful;
		this.commentTherapies = commentTherapies;
	}

	// Property accessors

	public Integer getThId() {
		return this.thId;
	}

	public void setThId(Integer thId) {
		this.thId = thId;
	}

	public ArticleCategory getArticleCategory() {
		return this.articleCategory;
	}

	public void setArticleCategory(ArticleCategory articleCategory) {
		this.articleCategory = articleCategory;
	}

	public String getThName() {
		return this.thName;
	}

	public void setThName(String thName) {
		this.thName = thName;
	}

	public String getThMethod() {
		return this.thMethod;
	}

	public void setThMethod(String thMethod) {
		this.thMethod = thMethod;
	}

	public String getThUseful() {
		return this.thUseful;
	}

	public void setThUseful(String thUseful) {
		this.thUseful = thUseful;
	}

	public Set getCommentTherapies() {
		return this.commentTherapies;
	}

	public void setCommentTherapies(Set commentTherapies) {
		this.commentTherapies = commentTherapies;
	}

}